//
//  List.m
//  LoveOfPet
//
//  Created by 芦彬 on 15/11/20.
//  Copyright © 2015年 孔维. All rights reserved.
//

#import "List.h"

@implementation List

- (void)dealloc{
    [_photo release];
    [_photo_des release];
    [_picHeight release];
    [_picWidth release];
    [_pid release];
    [_plnum release];
    [_ppid release];
    [_tlid release];
    [_type release];
    [_zan release];
    [super dealloc];
}

- (instancetype)initWithDictionary:(NSDictionary *)dic{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (List *)listWithDictionary:(NSDictionary *)dictionary{
    List *list = [[List alloc]initWithDictionary:dictionary];
    return [list autorelease];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

@end
